//
//  SEGMessageLikeViewModel.h
//  SEGViewModel
//
//  Created by 乔杨 on 2020/6/5.
//

#import <Foundation/Foundation.h>
#import "MessageModel.h"

typedef void (^LikePushVCDetailBlock)(NSString *type, NSString *parentObjType, NSDictionary *params);
typedef void (^ErrorBlock)(NSString *errorMsg);

@interface SEGMessageLikeViewModel : NSObject

/// signal
@property (nonatomic, strong) RACCommand *command;
/// 数据
@property (nonatomic, strong) NSArray<MessageModel *> *dataArray;
/// 用户信息
@property (nonatomic, strong) NSDictionary *userInfoDict;

// 处理点赞列表跳转逻辑
- (void)seg_pushDetailVCWithModel:(MessageModel *)msgModel successed:(LikePushVCDetailBlock)completionHandler error:(ErrorBlock)errorHandler;

@end

